* {
    margin: 0;
    padding: 0;
}

a {
    text-decoration: none;
}

ul li {
    list-style: none;
}

html {
    scroll-behavior: smooth;
}

.top {
    transition: all .5s linear;
    position: fixed;
    top: 0;
    width: 100%;
    box-sizing: border-box;
    padding: 10px 15px;
    background: rgba(255, 255, 255);
    box-shadow: 0 0 10px #888888;
    z-index: 9999;
    display: flex;
    justify-content: space-between;
}

.top-left {
    /* background-color: aqua; */
    width: 120px;
    height: 30px;
    line-height: 30px;
    text-align: center;
}

.top-left span {
    font-family: 楷体;
    font-size: 20px;
}

.top-right {
    /* background-color: seashell; */
    width: 250px;
    height: 30px;
}

.top-right ul {
    width: 250px;
    height: 30px;
    display: flex;
    justify-content: space-around;
    /* align-content: center; */
}

.top-right ul li {
    /* width: 250px; */
    height: 30px;
    line-height: 30px;

}

.top-right ul li a {
    color: black;
}

.box {
    width: 100%;
    height: 100vh;
    /* background-color: aqua; */
    background: url(./img/bg.jpg);
    background-size: cover;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    letter-spacing: 2px;
    margin-bottom: 50px;
}



.scroll_down {
    width: 30px;
    height: 30px;
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: rotate(45deg) translateX(-50%);
    animation: go linear 2s infinite;
    border-right: 3px solid #fff;
    border-bottom: 3px solid #fff;
    cursor: pointer;
}

@keyframes go {
    0% {
        bottom: 30px;
        opacity: .9;
    }

    50% {
        bottom: 10px;
        opacity: .3;
    }

    100% {
        bottom: 30px;
        opacity: .9;
    }
}


.w {
    width: 1200px;
    margin: 50px auto;
    /* background-color: antiquewhite; */
    height: 100vh;
    display: flex;
    justify-content: space-between;
}


.aside .card_user {
    width: 260px;
    height: 314px;
    background-color: rgba(255, 255, 255, .8);
    border-radius: 10px;
    transition: all .3s;
    padding: 20px 20px 30px;
    box-sizing: border-box;
    box-shadow: 0 0 15px #ddd;
    margin-bottom: 20px;

}


/* 鼠标经过显示轮廓阴影 */
.item:hover,
.card:hover {
    box-shadow: 0 0 25px rgba(0, 0, 0, .5);
}



.user {
    width: 220px;
    height: 142px;

}

.user .photo {
    width: 220px;
    height: 85px;
    text-align: center;
}

.user .photo img {
    width: 81px;
    height: 81px;
    border-radius: 50%;
    overflow: hidden;
    border: 1px solid #f0f0f0;
}


#nickname {
    width: 220px;
    height: 36px;
    text-align: center;
    /* background-color: aquamarine; */
    font-size: 20px;
    padding: 5px;
    box-sizing: border-box;
}

.user_state {
    width: 220px;
    height: 20px;
    background-color: #fff;
}

.blogs {
    width: 220px;
    height: 90px;
    padding: 15px;
    box-sizing: border-box;
    display: flex;
    flex-direction: row;
}

.blogs_statistics {
    margin-right: 20px;
}

.blogs_statistics .headline {
    font-size: 14px;
    color: #666;
}

.blogs_statistics .article_length_num {
    padding: 5px;
    font-size: 16px;
    color: #333
}

.add_to_bookmark {
    height: 30px;
    line-height: 30px;
    margin: 0 10px;
    border: 1px solid #1a73e8;
    border-radius: 5px;
    text-align: center;
    color: #333;
}

i {
    font-style: italic;
}

.card_tags {
    width: 260px;
    height: 130px;
    background-color: rgba(255, 255, 255, .8);
    border-radius: 10px;
    transition: all .3s;
    padding: 20px 20px 30px;
    box-sizing: border-box;
    box-shadow: 0 0 15px #ddd;
    margin-bottom: 20px;
    text-align: left;
    position: relative;
}

.card>h3>i {
    position: absolute;
    left: 20px;
    width: 24px;
    height: 24px;
    background: url(./img/iconfont/biaoqians.png) no-repeat;
    background-size: cover;
}

.card>h3 {
    padding-left: 30px;
    font-size: 20px;
    font-weight: 500;
    margin: 10px 0;
}


.card_archives {
    width: 260px;
    height: 250px;
    background-color: rgba(255, 255, 255, .8);
    border-radius: 10px;
    transition: all .3s;
    padding: 20px 20px 30px;
    box-sizing: border-box;
    box-shadow: 0 0 15px #ddd;
    position: relative;
}

.card_archives>ul>li {
    padding: 5px 0;
    padding-left: 5px;

}

.card_archives>ul>li>a {
    transition: all .3s;
    color: #666;
}

.card_archives>a {
    display: block;
    padding: 5px;
    color: cornflow erblue;
}

/* 文章栏 */

.article {
    width: 920px;
}

.item {
    transition: all .5s;
    height: 260px;
    width: 100%;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 0 10px #eee;
    margin-bottom: 30px;
    background-color: rgba(255, 255, 255, .8);
    display: flex;
}

/* .it1 {
    display: flex;

} */

.item:hover .img img {
    transform: scale(1.5);
}


.item .img {
    box-sizing: border-box;
    border-radius: 5px;
    overflow: hidden;
    width: 45%;
}

.item .img img {
    transition: all .5s;
    height: 260px;
    transform: scale(1.2);
}


.item .article_content {
    box-sizing: border-box;
    width: 55%;
    margin-top: 20px;
    padding: 20px 50px;
    max-height: 180px;
    /* overflow: hidden; */
}

.item .article_info {
    font-size: 14px;
    padding-bottom: 10px;
    color: #666;
}

.release_time {
    padding-left: 20px;
    position: relative;
}

.release_time>i {
    position: absolute;
    top: 1px;
    left: 0;
    width: 16px;
    height: 15px;
    background: url(./img/iconfont/rili.png) no-repeat;
    background-size: cover;
}

.article_content .content {
    color: #333;
    font-size: 14px;
    height: 95px;
    overflow: hidden;
}

.article_content h3 {
    margin: 10px 0;
}

/* .it2 {
    display: flex;
    flex-direction: row-reverse;
} */


.fanzhuan {
    display: flex;
    flex-direction: row-reverse;
}




/* 背景图 */
element.style {
    padding: 0px;
    margin: 0px;
}

#mydiv {
    height: 100vh;
    position: fixed;
    z-index: -1;
}


element.style {
    position: fixed;
    top: 0px;
    left: 0px;
    z-index: -1;
}

canvas[属性样式] {
    aspect-ratio: auto 1530 / 460;
}

/* 用户代理样式表 */
canvas {
    overflow-clip-margin: content-box;
    overflow: clip;
}